<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Gz extends Model
{
    protected $fillable = [];

    public function operator(){
        return $this->belongsTo(Operator::class, 'operator_id', 'id');
    }

    public function operatorline(){
        return $this->belongsTo(OperatorLine::class, 'line', 'id');
    }

    public function operatortype(){
        return $this->belongsTo(OperatorType::class, 'operator_type', 'id');
    }
}
